package fr.mk25.audio{

    import flash.events.Event;

    

    public class PlaylistEvent extends Event{

        public static const LOADED:String    = "Playlist loaded";
        public static const PLAYING:String   = "Playing playlist";
        public static const STOPPED:String   = "Playlist stopped";
        public static const FINISHED:String  = "Playlist finished";
        public static const PLAYING_NEW_TRACK:String     = "New track";
        public static const ID3:String      = "id3";
        
    
        public function PlaylistEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false){
            super(type, bubbles, cancelable) ;
        }   

        public function getName():String{
            return currentTarget.getName() ;
        } 

    }

}
